package tds.study.payment.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 通用删除Dto
 * </p>
 *
 * @author tds
 * @since 2021-09-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DeleteDto对象", description="DeleteDto对象")
public class DeleteDto implements Serializable {


    private static final long serialVersionUID = 5205126294277632678L;

    /**
    * 主键集合
    */
    @NotEmpty(message = "主键集合(ids)不能为空")
    @ApiModelProperty(value = "主键集合")
    private List<String> ids;



}
